package com.rwdesign.springboot.Waimai.service;


import com.rwdesign.springboot.Waimai.entity.Shop;

import java.util.List;
import java.util.Map;

/**
 * @author rystart
 * @create 2022-01-28 14:04
 */
public interface ShopService {


    /**
     * @Description: 查询商铺所有分类
     * @Param:
     * @return:
     * @Author: cdp
     * @Date: 2022/1/28
     */
    List<String> selectAllShopTypes();

    /**
     * 查询所有商品信息
     *
     * @return
     */
    List<Shop> selectAllShops(String shopType);

    /**
     * @return
     * @Author chendanping
     * @Description //TODO 新增商户
     * @Date 20:31 2022/3/7
     * @Param
     **/
    Integer createShop(Shop shop);

    /**
     * @return
     * @Author chendanping
     * @Description //TODO 查询商户的商铺
     * @Date 21:06 2022/3/7
     * @Param
     **/
    List<Shop> selectShopByShopId(Integer shopId);

    /**
     * @return
     * @Author chendanping
     * @Description //TODO 编辑商铺信息
     * @Date 21:19 2022/3/7
     * @Param
     **/
    Integer updateShopByShopId(Shop shop);
}
